package org.github.manx98.jlibhac.fssystem;

/**
 * @author Manx98
 * @version 1.0
 * @since 2022/10/3 15:45
 */
public enum DistributionType {
    Download,
    GameCard;

    public static DistributionType valueOf(byte value) {
        for (DistributionType v : values()) {
            if (v.ordinal() == value) {
                return v;
            }
        }
        throw new IllegalArgumentException("Invalid DistributionType value: " + value);
    }
}
